#include "dice.h"

#include <cstdlib>
#include <ctime>
using namespace std;

#include "combat.h"

void initialise_random_number_generator()
{
	srand((int)time(0));
}

int roll(int sides)
{
     return rand() % sides + 1;
}

random::random(combat * fight_director): director(fight_director) 
{
	initialise_random_number_generator();
}

void random::start() 
{
	director->choose_enemy(rand() % 2);
}
